package com.zmhc.product.domain;

import com.zmhc.common.core.annotation.Excel;
import com.zmhc.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * 商品参数对象 zmhc_parameters
 *
 * @author ruoyi
 * @date 2023-12-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class Parameters extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 分类ID
     */
    @Excel(name = "分类ID")
    private String categoryId;

    /**
     * 参数分组ID
     */
    @Excel(name = "参数分组ID")
    private String groupId;

    /**
     * 是否可索引必选
     */
    @Excel(name = "是否可索引必选")
    private Long isIndex;

    /**
     * 选择值
     */
    @Excel(name = "选择值")
    private String options;

    /**
     * 参数名称
     */
    @Excel(name = "参数名称")
    private String paramName;

    /**
     * 参数类型
     */
    @Excel(name = "参数类型")
    private Long paramType;

    /**
     * 是否必填
     */
    @Excel(name = "是否必填")
    private Long required;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long sort;

    /**
     * 删除状态 0=正常 2=已删除
     */
    private String delFlag;

}
